<%--
  Created by IntelliJ IDEA.
  User: 14190
  Date: 2022/11/7
  Time: 15:33
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%@ page isELIgnored="false" %>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<html>
<head>
    <title>Title</title>
</head>
<body>
<table border="1">
    <thead>
    <tr>
        <th>编号</th>
        <th>国家</th>
        <th>首都编号</th>
    </tr>
    </thead>
    <tbody>
    <c:forEach var="countrylist" items="${countrylist}" varStatus="status">
        <tr>
            <td>${countrylist.code}</td>
            <td>${countrylist.name}</td>
            <td>${countrylist.capital}</td>
        </tr>
    </c:forEach>
    </tbody>
</table>


</body>
</html>
